package com.study.guide.codec.MessagePack;

import org.msgpack.annotation.Message;
/**
 * 	必须添加，否则失败；而且失败后也不报错，很难排查
 * @author nrzt
 *
 */
@Message
public class UserInfo {
	private int age;
	private String name;
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	@Override
	public String toString() {
		return "UserInfo [age=" + age + ", name=" + name + "]";
	}

}
